package com.wondertek.common.constant;

/**
 * @author wangyu
 */
public class LanguageCodeStatus {

    // scI18n不能为空
    public static final int SCI18N_IS_NULL = 10000;

    // 验证成功
    public static final int VERIFY_SUCCESSFULLY = 10001;

    // 验证码错误或失效
    public static final int VERIFICATION_ERROR = 10002;
    // 登出成功
    public static final int LOG_OUT_SUCCEED = 10003;
    //邮箱未注册
    public static final int EMAIL_UNREGISTERED = 10004;

    //注册成功
    public static final int REGISTERED_SUCCESSFULLY = 10005;

    //修改成功
    public static final int MODIFY_SUCCESSFULLY = 10006;

    //文件大小超出限制
    public static final int FILE_SIZE_OUT = 10007;

    //数据库插入异常数据重复了
    public static final int DB_DATA_DUPLICATION = 10008;

    // 可能主键或外键冲突
    public static  final int THE_PRIMARY_KEY_OR_FOREIGN_KEY_MAY_CONFLICT = 10009;

    // 字段过长
    public static final int FIELD_TOO_LONG = 10010;

    //未知错误
    public static final int UNKNOWN_ERROR = 10011;

    // 短信下发成功
    public static final int SENDING_SMS_SUCCESSFULLY = 10012;

    //角色编码不能重复
    public static final int ROLE_CODING_DUPLICATION = 10013;

    //用户不存在
    public static final int USER_DOES_NOT_EXIST = 10014;

    //用户或密码错误
    public static final int USER_OR_PASSWORD_IS_INCORRECT = 10015;

    //当前账号被禁用
    public static final int ACCOUNT_DISABLE = 10016;

    //当前IP登录过于频繁，请稍后再试试
    public static final int FREQUENT_LOGIN = 10017;

    //不能频繁发送验证码，请稍后再试！
    public static final int CAPTCHA_FREQUENCY= 10018;

    //此邮箱已注册
    public static final int EMAIL_REGISTERED = 10019;

    // 当前组织编码已经存在，请重新命名！
    public static final int ORGANIZATION_CODED_PRESENCE = 10020;

    //当前组织有关联的用户，不能删除！
    public static final int ORGANIZATION_ASSOCIATED_USER = 10021;

    //当前组织拥有子级，不能删除！
    public static final int ORGANIZATION_SUBSET = 10022;

    //角色名不能重复
    public static final int ROLE_NAME_DUPLICATION = 10023;

    //找不到对应角色信息
    public static final int ROLE_NOT_FOUND = 10024;

    // 角色关联用户无法禁用
    public static final int ROLE_RELEVANCY_USER = 10025;

    //签名失败
    public static final int SIGNATURE_FAILURE = 10026;

    //接口token获取失败
    public static final int TOKEN_GET_ERROR = 10027;

    //获取登录用户不存在
    public static final int LOGIN_USER_NOT_EXIST = 10028;

    //添加部门失败
    public static final int ADD_DEPARTMENT_FAIL = 10029;

    //短信发送失败
    public static final int SMS_SENDING_FAIL = 10030;

    //字典未配置
    public static final int DICT_NOT_CONFIGURATION = 10031;

    //字典编码已经存在，请重新命名
    public static final int DICT_CODING_EXIST = 10032;

    //菜单名不能重复
    public static final int MENU_NAME_REPEAT = 10033;

    //权限code不能重复
    public static final int AUTHORITY_CODE_REPEAT = 10034;

    //按钮权限名不能重复
    public static final int BUTTON_AUTHORITY_NAME_REPEAT = 10035;

    //按钮权限code不能重复
    public static final int BUTTON_AUTHORITY_code_REPEAT = 10036;

    //邮箱不能重复
    public static final int EMAIL_REPEAT = 10037;

    //手机号不能重复
    public static final int PHONE_REPEAT = 10038;

    //旧密码错误
    public static final int OLD_PASSWORD_ERROR = 10039;

    //新增设备失败
    public static final int ADD_DEVICE_FAIL = 10040;

    //删除设备失败
    public static final int DEL_DEVICE_FAIL = 10041;

    //查询设备失败
    public static final int FIND_DEVICE_FAIL = 10042;

    //视频推拉流创建失败
    public static final int VIDEO_FLOW_CREATE_FAIL = 10043;

    // 设备操作失败
    public static final int DEVICE_OPERATION_FAIL = 10044;

    //告警列表查询失败
    public static final int REPORT_FIND_FAIL = 10045;

    //数据订阅查询失败
    public static final int DATA_SUBSCRIBE_FIND_FAIL = 10046;

    //取消订阅失败
    public static final int UNSUBSCRIBE_FAIL = 10047;

    //配置区域信息失败
    public static final int CONFIGURATION_AREA_FAIL = 10048;

    //配置区域布防模式失败
    public static final int CONFIGURATION_AREA_DEPLOYMENT_FAIL = 10049;

    //修改失败
    public static final int MODIFY_FAIL = 100050;



}
